<%@ page language="java"%>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>

<html>
<head>
<title>Login</title>
<link rel="stylesheet" href="resources/css/style.css" />
<link rel="stylesheet" href="resources/css/style2.css" />
<script type="text/javascript" src="resources/js/validation.js"></script>
</head>
<body class="input_page">
	<div id="header">
<!-- 		<a href="/jsp/home.jsp"><img src="../resources/images/logo.jpg" width="131px" height="45px"/> -->
<!-- 		</a> -->

	<img src="resources/images/logo.jpg"
			style="width: 130px; height: 40px; margin: 20px;" />
	</div>
	<table id="container" class="maintb" cellpadding="0" cellspacing="0">
		<tr>
			<td style="width: 60%"><img src="resources/images/home.jpg" />
			</td>
			<td style="width: 40%">
				<div class="input_box">
					<html:form action="loginAction" method="post"
						onsubmit="return validateLogin(this);">
						<div class="top_b">Please Enter Your Login Details</div>

						<div class="alert" id="alert" style="font-size: 11px">
							<html:errors />
						</div>

						<div class="cnt_b">
							<div class="formRow">
								<div class="input-prepend">
									<span class="add-on"><i class="icon-user"></i> </span>
									<html:text name="LoginForm" styleId="watermark" property="userName" maxlength="50"
										value="username"
										onblur="FuncWaterMark(this, event);" onfocus="FuncWaterMark(this, event);" />
								</div>
							</div>
							<div class="formRow">
								<div class="input-prepend">
									<span class="add-on"><i class="icon-lock"></i> </span>
									<html:text name="LoginForm" styleId="watermark" property="password" maxlength="50"
										value="password"
										onblur="if(this.value==''){ this.value=this.defaultValue; this.type='text'; this.style.color = '#D0CFCF';}" 
										onfocus="if(this.value==this.defaultValue){ this.value=''; this.type='password'; this.style.color = 'black';}" />
								</div>
							</div>
						</div>
						<div class="btm_b clearfix">
							<html:submit styleClass="btn btn-inverse pull-right">Sign In</html:submit>
							<span class="link_reg"><a href="/jsp/signup.jsp">Not
									registered? Sign up here</a> </span>
						</div>
					</html:form>
					<div class="links_b links_btm clearfix">
						<span class="linkform"><a href="/jsp/resendPassword.jsp">Forgot
								password?</a> </span> <span class="linkform" style="display: none">Never
							mind, <a href="#login_form">send me back to the sign-in
								screen</a> </span>
					</div>
				</div></td>
		</tr>

	</table>
<jsp:include page="/jsp/footer.jsp"></jsp:include>
</body>
</html>
